home *** CD-ROM | disk | FTP | other *** search
/ Aminet 7 / Aminet 7 - August 1995.iso / Aminet / docs / misc / ConcNews.lha / news / amiga.programming / comp.sys.amiga.programmer_8535_000043.msg < prev    next >
Encoding:
Text File  |  1994-11-27  |  1.7 KB  |  49 lines

  1. Newsgroups: comp.sys.amiga.programmer
  2. Path: dd.chalmers.se!news.chalmers.se!sunic!trane.uninett.no!nac.no!eunet.no!EU.net!howland.reston.ans.net!gatech!concert!sas!mozart.unx.sas.com!walker
  3. From: walker@twix.unx.sas.com (Doug Walker)
  4. Subject: Re: Optimizing linking with Blink
  5. Originator: walker@twix.unx.sas.com
  6. Sender: news@unx.sas.com (Noter of Newsworthy Events)
  7. Message-ID: <Cnr3EL.LA6@unx.sas.com>
  8. Date: Mon, 4 Apr 1994 19:56:44 GMT
  9. References:  <marcel.0if6@desert.wlink.nl>
  10. Nntp-Posting-Host: twix.unx.sas.com
  11. Organization: SAS Institute Inc.
  12. Lines: 36
  13.  
  14.  
  15. In article <marcel.0if6@desert.wlink.nl>, marcel@desert.wlink.nl (Marcel Timmermans) writes:
  16. |> Hello All,
  17. |> 
  18. |> I have a problem. I want to do optimizing linking with blink (6.7). So only  the
  19. |> procedures wich the main program needed must be include in the finale
  20. |> executable.
  21. |> 
  22. |> I have the following example of the "with"-file:
  23. |> 
  24. |> FROM    MainModule.obj
  25. |> LIBRARY
  26. |>         DH0:modules/obj/Intuition.obj
  27. |>         DH0:modules/obj/Exec.obj
  28. |>         Dh0:modules/obj/Dos.obj
  29. |> TO MainModule SC SD
  30. |> 
  31. |> Can somebody tell me how the structure of the object file must be? So that i can
  32. |> optimizing linking.
  33.  
  34. You can use any AmigaDOS-format object file as a library.
  35.  
  36. In fact, you can use the JOIN command to combine all your object 
  37. files into a single library:
  38.  
  39.    join DH0:modules/obj/Intuition.obj DH0:modules/obj/Exec.obj \
  40.         DH0:modules/obj/Dos.obj AS mylib.lib
  41.  
  42. -- 
  43.   *****                    / walker@unx.sas.com
  44.  *|_o_o|\\     Doug Walker<  BIX, Portal: djwalker
  45.  *|. o.| ||                \ CompuServe: 71165,2274
  46.   | o  |//     
  47.   ====== 
  48. Any opinions expressed are mine, not those of SAS Institute, Inc.
  49.